Part Number Hot Search : 
80000 SDA5250 EMC140 HC138 SM8142AV DS103 6KE30 Z5250
Product Description
Full Text Search
 

To Download AN-1014 Datasheet File

  If you can't view the Datasheet, Please click here to try to view without PDF Reader .  
 
 


  Datasheet File OCR Text:
  ? cymbet corporation ? 18326 joplin street, elk river, mn 55330 ? 763-633-1780 ? www.cymbet.com p age 1 doc-111014 reva AN-1014 application note using the atmel? picopower? avr? microcontroller with cymbet? enerchips? a demonstration vehicle for cymbet solid state thin film rechargeable batteries figure 1. cymbet atmel picopower avr demo board. introduction the cymbet enerchip and atmel picopower avr are combined in a demonstration board designed to show the advantages of cymbet enerchip rechargeable batteries for embedded processor applications. cymbet enerchips provide virtually unlimited system life. they are smaller, lighter and environmentally friendlier than primary lithium coin cells for backup power. the demo board consists of an atmel atmega169p picopower avr microcontroller with integrated lcd controller, cymbet enerchip cells, and a cymbet charge control circuit. system considerations cymbet enerchips are ideal for applications requiring a high number of charge/discharge cycles, such as backing up microcontrollers during intermittent power outages. such systems will need a charge controller to keep the enerchip at a full state of charge without overcharging the battery and thereby reducing its useful life. the charge circuit will need a source of voltage higher than the enerchip charging voltage of 4.1v. this may require a charge pump. the charge circuit must regulate the charge voltage and have a means of isolating itself from the enerchip (current blocking) to prevent the enerchip from discharging through the charge circuit when system power is off. isolation from the main power supply and voltage reduction from the battery output to the load may also be necessary. consideration needs to be given to the minimum voltage needed by the system to run off backup power, on how to switch between main power and backup power, and on how to signal the microcontroller that it will be running off backup power. special algorithms may be used so that the microcontroller sheds loads and puts itself into a low-power sleep mode during backup. the power-fail sensing circuit must not feed power back into the main power bus when the system switches over to the enerchip for backup power. in the demo board, a 4.7 mohm resistor is used to limit current on the v ref line to 500 na. a diode would have eliminated all current leakage and have been an even better choice. figure 2. charge controller block diagram. charge circuit description the charge circuit in figure 4 meets all key system requirements. it is powered by two lithium coin cells, so that no boost charge pump is needed. charge voltage regulation utilizes a zetex zr40401f41ta shunt voltage regulator, but could also have used a low i q ldo, such as a ti tps715xx regulator. current blocking to prevent the enerchip from being discharged when main power is off is implemented with transistors q2, q3, and q5. transistors q3 and q5 are dual packaged devices, with the two transistors wired in series so that the off-state leakage current is negligible for a ah-rated enerchip. pnp transistor q2 is used as a comparator to shut off the charge circuit when the input voltage falls below 4.8v (4.1v plus the v be of the transistor). when q2 turns off, n-channel fet q3 is turned off, which then turns off p-channel fet q5.
AN-1014: atmel picopower avr demo board ? cymbet corporation ? 18326 joplin street, elk river, mn 55330 ? 763-633-1780 ? www.cymbet.com p age 2 doc-111014 reva demonstration description two on-board coin cells are used as the primary power source in lieu of an external power supply. place the two coin cells in series in the coin cell holder, with the negative terminal toward the board for both cells. position the battery-select jumper to select the correct enerchip. close power switch sw1 for charging. also press pushbutton s1 (at bottom left of board) to turn off the lcd display and minimize current drain. the enerchip will be 80% charged within 30 minutes and 100% charged after 45 minutes. see an-1003 for more details on battery charging times. after the battery is fully charged, slide the power switch to off and back to on. this will turn on the lcd display. the indicator caption will be start. the board will wait for an operator input. display ready for timing. display while timing after pressing s2. display stopped after pressing s2. press pushbutton s2 (at bottom right of board) to start the timer function. the lcd will show elapsed minutes and seconds. the indicator caption will be stop. press s2 again to stop timing. the indicator caption will be clear. press s2 once more to clear the display and reset the timer. turn off power switch sw1 or remove the coin cells to demon- strate demo board operation from the enerchip alone. press pushbutton s1 (at bottom left of board) to toggle the lcd display on and off. with the lcd off, current draw on the enerchip will be 2 a. a 50 ah cbc050 enerchip will then provide backup for 25 hours and a cbc012 enerchip for 6 hours. with the lcd on, current draw will be 14 a, and the above times will be reduced to 3.6 hours and 51 minutes, respectively. to measure current draw, insert a micro-ammeter in place of the battery-select jumper. the 3-1/2 digit lcd display will first show minutes and seconds in mm:ss format. after 19:59 (19 min: 59 sec), it switches to hh:mm format. after 19:59 (19 hrs: 59 min), the unit stops counting. when power switch sw1 is in the off position, the display is automatically blanked and the enerchip is being discharged. when finished with the evaluation, remove the battery select jumper to prevent the enerchip from becoming fully discharged, possibly reducing its life. software description the software uses an interrupt driven control loop. the processor is normally in the ?powersave? mode to conserve power. timer2 is clocked off the external 32.768 khz crystal and generates an interrupt at 1 sec intervals. this wakes the processor, which will then update the display as needed, then go back to sleep. timer initialization routine void timer2_init(void) { #asm("cli") // clear global interrupt flag timsk2 = 0; // disable ocie2a and toie2 assr=0x08; // use external 32 crystal tcnt2=0x00; // clear counter tccr2a = 0x05; // divide by 8 while ((assr & 1) | (assr & 4)); // wait for tcn2ub and tcr2ub to clear tifr2 = 0x7f; // set overflow limit timsk2 = 0x01; // set overflow interrupt enable bit #asm("sei") // reset global interrupt flag } lcd setup registers lcdcra=0x80; // normal waveform; buffers on lcdcrb=0xd7; // now set for external clock 32.768 lcdccr= 0x0f; // contrast control lcdfrr=0x02; // clock divider other lcds might require different settings. further power reductions can be obtained by turning off the buffers and using the atmega169 ?low power? lcd waveform; however, this may reduce the contrast and sharpness of the display. consult atmel, www.atmel.com, for further details and latest information on the atmega169p avr microcontroller.
AN-1014: atmel picopower avr demo board ? cymbet corporation ? 18326 joplin street, elk river, mn 55330 ? 763-633-1780 ? www.cymbet.com p age 3 doc-111014 reva figure 3. schematic diagram, at mel atmega169p microcontroller.
AN-1014: atmel picopower avr demo board ? cymbet corporation ? 18326 joplin street, elk river, mn 55330 ? 763-633-1780 ? www.cymbet.com p age 4 doc-111014 reva figure 4. charge control circuit. note: atmel? and avr? are registered trademarks of atmel corpor ation and picopower? is a trademark of atmel corporation. all o ther trademarks are the property of their respective owners.


▲Up To Search▲   

 
Price & Availability of AN-1014

All Rights Reserved © IC-ON-LINE 2003 - 2022  

[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy]
Mirror Sites :  [www.datasheet.hk]   [www.maxim4u.com]  [www.ic-on-line.cn] [www.ic-on-line.com] [www.ic-on-line.net] [www.alldatasheet.com.cn] [www.gdcy.com]  [www.gdcy.net]


 . . . . .
  We use cookies to deliver the best possible web experience and assist with our advertising efforts. By continuing to use this site, you consent to the use of cookies. For more information on cookies, please take a look at our Privacy Policy. X